#ifndef _MEMORYTEST_
#define _MEMORYTEST_

#include "Core/Memory/HeapObject.h"
#include "UnitTest.h"

class MemoryTest : public UnitTest
{
private:

	class A1 : public Core::Memory::HeapObject
	{
		char buf[32];
	};

	class A2
	{
		char buf[32];
	};

	class B1 : public Core::Memory::HeapObject
	{
		char c[128];
	};

	class B2
	{
		char c[128];
	};

	class C1 : public Core::Memory::HeapObject
	{
		char c[512];
	};

	class C2
	{
		char c[512];
	};

public:
	virtual const char * GetName() const;
	virtual Core::error Create();
	virtual Core::error Destroy();
	virtual Core::error Execute();
};

#endif // _MEMORYTEST_
